<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Logon.aspx.vb" Inherits="CARRES.Logon" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>Login</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../Styles.css" type="text/css" rel="stylesheet">
		<script>
			top.window.moveTo(0,0);
			if (document.all) 
			{
				top.window.resizeTo(screen.availWidth,screen.availHeight);
			}
			else if (document.layers||document.getElementById) 
			{
				if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth)
				{
				top.window.outerHeight = screen.availHeight;
				top.window.outerWidth = screen.availWidth;
				}
			}
		</script>
	</HEAD>
	<body bgProperties="fixed" leftMargin="0" rightMargin="0" MS_POSITIONING="FlowLayout">
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table5" height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"
				runat="server">
				<TR>
					<TD height="100%">
						<DIV align="right">
							<TABLE id="Table2" cellSpacing="0" cellPadding="0" width="100%" align="center" bgColor="#034996"
								border="0" runat="server">
								<TR>
									<TD height="50"></TD>
								</TR>
								<TR>
									<TD>
										<DIV align="center">
											<TABLE id="Table4" style="WIDTH: 825px; HEIGHT: 200px" cellSpacing="0" cellPadding="0"
												width="825" align="right" border="0">
												<TR>
													<TD>
														<DIV align="center">
															<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
																height="200" width="500" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
																<PARAM NAME="_cx" VALUE="13229">
																<PARAM NAME="_cy" VALUE="5292">
																<PARAM NAME="FlashVars" VALUE="">
																<PARAM NAME="Movie" VALUE="../images/main.swf">
																<PARAM NAME="Src" VALUE="../images/main.swf">
																<PARAM NAME="WMode" VALUE="Window">
																<PARAM NAME="Play" VALUE="-1">
																<PARAM NAME="Loop" VALUE="-1">
																<PARAM NAME="Quality" VALUE="High">
																<PARAM NAME="SAlign" VALUE="">
																<PARAM NAME="Menu" VALUE="-1">
																<PARAM NAME="Base" VALUE="">
																<PARAM NAME="AllowScriptAccess" VALUE="">
																<PARAM NAME="Scale" VALUE="ShowAll">
																<PARAM NAME="DeviceFont" VALUE="0">
																<PARAM NAME="EmbedMovie" VALUE="0">
																<PARAM NAME="BGColor" VALUE="">
																<PARAM NAME="SWRemote" VALUE="">
																<PARAM NAME="MovieData" VALUE="">
																<PARAM NAME="SeamlessTabbing" VALUE="1">
																<PARAM NAME="Profile" VALUE="0">
																<PARAM NAME="ProfileAddress" VALUE="">
																<PARAM NAME="ProfilePort" VALUE="0">
																<PARAM NAME="AllowNetworking" VALUE="all">
																<PARAM NAME="AllowFullScreen" VALUE="false">
																<embed src="../images/main.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
																	type="application/x-shockwave-flash" width="500" height="200"> </embed>
															</OBJECT>
														</DIV>
														</FONT></TD>
													<TD vAlign="middle" align="center">
													</TD>
												</TR>
											</TABLE>
										</DIV>
									</TD>
								</TR>
								<TR>
									<TD height="20"></TD>
								</TR>
								<TR>
									<TD align="right" bgColor="#000066" height="1"></TD>
								</TR>
								<TR>
									<TD align="right" bgColor="#003366" height="40"><asp:label id="Label3" runat="server" ForeColor="White" CssClass="Label"></asp:label></TD>
								</TR>
								<TR>
									<TD bgColor="#999999" height="20"></TD>
								</TR>
							</TABLE>
						</DIV>
					</TD>
				</TR>
			</TABLE>
			<TABLE id="Table3" height="100%" cellSpacing="1" cellPadding="1" width="90%" align="center"
				bgColor="#000099" border="0" runat="server">
				<TR>
					<TD style="WIDTH: 369px" height="30">
						<asp:label id="Lblx" runat="server" ForeColor="White" Font-Size="10pt" Font-Names="Microsoft Sans Serif"
							Font-Bold="True">System Parameter</asp:label></TD>
				</TR>
				<TR>
					<TD vAlign="top" align="center" bgColor="#ffffff" height="100%"><BR>
						<TABLE id="Table7" cellSpacing="1" cellPadding="1" width="99%" border="0">
							<TR>
								<TD style="WIDTH: 92px" align="right">
									<asp:label id="Label17" runat="server" Font-Size="10pt" Font-Names="Microsoft Sans Serif" Font-Bold="True">ID:</asp:label></TD>
								<TD style="WIDTH: 3px"></TD>
								<TD>
									<asp:textbox id="TxtEmpCode" runat="server" Width="100px" Font-Size="10pt" Font-Names="Microsoft Sans Serif"
										BorderStyle="Groove"></asp:textbox>
									<asp:button id="BtnOk" runat="server" Text="OK" Width="104px" Font-Size="10pt" Font-Names="Microsoft Sans Serif"
										Font-Bold="True" BorderStyle="Groove"></asp:button>
									<asp:label id="LblAlertInput" runat="server" ForeColor="Red" Font-Size="10pt" Font-Names="Microsoft Sans Serif"
										Font-Bold="True"></asp:label></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 92px" align="right">
									<asp:label id="Label16" runat="server" Font-Size="10pt" Font-Names="Microsoft Sans Serif" Font-Bold="True">Name :</asp:label></TD>
								<TD style="WIDTH: 3px"></TD>
								<TD>
									<asp:textbox id="TxtEmpName" runat="server" Width="95%" Font-Size="10pt" Font-Names="Microsoft Sans Serif"
										BorderStyle="Groove" ReadOnly="True" BackColor="#E0E0E0"></asp:textbox></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 92px" height="25"></TD>
								<TD style="WIDTH: 3px" height="25"></TD>
								<TD height="25"></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 92px"><FONT face="Tahoma"></FONT></TD>
								<TD style="WIDTH: 3px"></TD>
								<TD>
									<asp:datagrid id="DtgPosition" runat="server" CssClass="label" Width="95%" BorderStyle="None"
										BackColor="White" CellPadding="4" BorderWidth="1px" BorderColor="#3366CC" AutoGenerateColumns="False">
										<FooterStyle ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
										<SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
										<AlternatingItemStyle BackColor="#ECF3F8"></AlternatingItemStyle>
										<ItemStyle ForeColor="#003399" BackColor="White"></ItemStyle>
										<HeaderStyle Font-Bold="True" HorizontalAlign="Center" ForeColor="#CCCCFF" BackColor="#003399"></HeaderStyle>
										<Columns>
											<asp:BoundColumn HeaderText="NO.">
												<HeaderStyle Width="3%"></HeaderStyle>
												<ItemStyle HorizontalAlign="Center"></ItemStyle>
											</asp:BoundColumn>
											<asp:BoundColumn DataField="PosCode" HeaderText="PosCode">
												<HeaderStyle Width="15%"></HeaderStyle>
												<ItemStyle HorizontalAlign="Center"></ItemStyle>
											</asp:BoundColumn>
											<asp:BoundColumn DataField="PosName" HeaderText="PosName"></asp:BoundColumn>
											<asp:BoundColumn DataField="JobGroup" HeaderText="JobGroup">
												<HeaderStyle Width="5%"></HeaderStyle>
												<ItemStyle HorizontalAlign="Center"></ItemStyle>
											</asp:BoundColumn>
											<asp:BoundColumn DataField="Percentage" HeaderText="Percentage">
												<HeaderStyle Width="5%"></HeaderStyle>
												<FooterStyle HorizontalAlign="Center"></FooterStyle>
											</asp:BoundColumn>
											<asp:BoundColumn DataField="Band" HeaderText="Band">
												<HeaderStyle Width="5%"></HeaderStyle>
												<ItemStyle HorizontalAlign="Center"></ItemStyle>
											</asp:BoundColumn>
											<asp:ButtonColumn Text="&lt;img src=&quot;../images/diy_index_logon.gif&quot;  alt=&quot;Login&quot; border=&quot;0&quot;&gt;"
												HeaderText="Login" CommandName="Select">
												<HeaderStyle Width="5%"></HeaderStyle>
												<ItemStyle HorizontalAlign="Center"></ItemStyle>
											</asp:ButtonColumn>
										</Columns>
										<PagerStyle HorizontalAlign="Left" ForeColor="#003399" BackColor="#99CCCC" Mode="NumericPages"></PagerStyle>
									</asp:datagrid></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 92px"></TD>
								<TD style="WIDTH: 3px"></TD>
								<TD></TD>
							</TR>
						</TABLE>
						<BR>
					</TD>
				</TR>
			</TABLE>
			<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0" runat="server"
				DESIGNTIMEDRAGDROP="229">
				<TR>
					<TD height="10"></TD>
					<TD height="10"></TD>
					<TD height="10"></TD>
				</TR>
				<TR>
					<TD align="right"></TD>
					<TD>
						<asp:label id="Label1" runat="server" CssClass="showLabel" ForeColor="White">UserName :</asp:label></TD>
					<TD>
						<asp:textbox id="TextBox1" runat="server" CssClass="Textbox"></asp:textbox></TD>
				</TR>
				<TR>
					<TD align="right" height="10"></TD>
					<TD height="10"></TD>
					<TD height="10"></TD>
				</TR>
				<TR>
					<TD style="HEIGHT: 1px" align="right"></TD>
					<TD style="HEIGHT: 1px">
						<asp:label id="Label2" runat="server" CssClass="showLabel" ForeColor="White">PassWord :</asp:label></TD>
					<TD style="HEIGHT: 1px">
						<asp:textbox id="TextBox2" runat="server" CssClass="Textbox" TextMode="Password"></asp:textbox></TD>
				</TR>
				<TR>
					<TD height="10"></TD>
					<TD height="10"></TD>
					<TD height="10"></TD>
				</TR>
				<TR>
					<TD height="10"></TD>
					<TD height="10"></TD>
					<TD height="10">
						<asp:button id="Button1" runat="server" CssClass="Button" Text="Logon" Width="100px"></asp:button></TD>
				</TR>
				<TR>
					<TD height="10"></TD>
					<TD height="10"></TD>
					<TD height="10"></TD>
				</TR>
				<TR>
					<TD height="10"></TD>
					<TD align="center" colSpan="2" height="10">
						<asp:label id="Label4" runat="server" CssClass="ShowLabel" ForeColor="Red" Visible="False">Invalid UserName</asp:label></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
